import { request } from '@/utils/request';
/**
 *获取供应商数据列表
 */
export function listCustomerPageApi(data: any) {
  return request({
    url: '/bms/customer/listCustomerPage',
    method: 'post',
    data,
  },
    {
      isDataDirectly: false,
    });
}

/**
 *新增供应商
 */
export function insertCustomerApi(data: any) {
  return request({
    url: '/bms/customer/insertCustomer',
    method: 'post',
    data,
  },
    {
      isDataDirectly: false,
    });
}
/**
 *编辑供应商
 */
export function modifyCustomerApi(data: any) {
  return request({
    url: '/bms/customer/modifyCustomer',
    method: 'post',
    data,
  },
    {
      isDataDirectly: false,
    });
}




